<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="app" uri="http://www.wanrenhui.com" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>圈圈生活</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/func.js"></script>
<style type="">
	.icon-sendSms{
    	background:url('${pageContext.request.contextPath}/res/images/admin/main/right.png') no-repeat center center;
	}
	</style>
</head>
<body class="login_body">
<div id="w" class="easyui-window" title="发送短信" data-options="closed:true" style="width:600px;height:300px;padding:5px;">
		<div class="easyui-layout" data-options="fit:true">
			
			<div data-options="region:'west',split:true" style="width:100px">
			<p style="border: 1 ;background-color: red;">模板列表</p>
				<ul id="templateList">
				</ul>
			</div>
			<div data-options="region:'center'" style="padding:10px;">
				短信内容：
				<textarea style="width: 80%;height: 80%" id="msgText" name="msgText" 
				oninput="admin.func.netMsgChange('msgText',60)" 
				onpropertychange="admin.func.netMsgChange('msgText',60)"></textarea>
                <em class="p0">(<span id="msgText_txt">60个字以内，还可以输入60个字</span>)</em>
				<br/>
				<p id="p_tip">内容提示：消息中需嵌入用户名，请使用占位符："{userName}"。</p>
			</div>
			<div data-options="region:'east',split:true" style="width:100px">
				<p style="border: 1 ;background-color: red;">用户列表</p>
				<ul id="userList"> </ul>
			</div>
			<div data-options="region:'south',border:false" style="text-align:right;padding:5px 0 0;">
				<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0)" onclick="admin.func.doSendSms();" style="width:80px">Ok</a>
				<a class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" href="javascript:void(0)" onclick="$('#w').window('close')" style="width:80px">Cancel</a>
			</div>
		</div>
	</div>
</body>
</html>
